package com.sanjin.start;


import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.security.config.annotation.method.configuration.EnableGlobalMethodSecurity;


@SpringBootApplication
@ComponentScan(value = "com.sanjin")
@MapperScan(value = "com.sanjin.mapper")
@EnableGlobalMethodSecurity(prePostEnabled = true)
public class SanjinApplication {
    public static void main(String[] args) {
        SpringApplication.run(SanjinApplication.class,args);
    }
}

